﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace BSCore
{
    public abstract class Frame
    {
        public int ID { get; set; }

        public int TextureSheetID { get; set; }

        public Vector2 Size { get; set; }

        public TextureSheet TextureSheet
        {
            get
            {
                return GameResources.GetTextureSheetByID(TextureSheetID);
            }
        }

      public abstract void Draw(SpriteBatch spriteBatch,Vector2 position);
    }
}
